#Make file for SLUG
MAIN_FILE =     ./source/slug/slug.cpp
DEF_FILE  =     ./source/slug/def.h
LIB_INCLUDE =   -lgsl -lgslcblas
#Change here the compile info
COMPILE =       g++ -Wall
EXEC =          slug
OPTIM =		-O2

all:   
	${COMPILE} ${MAIN_FILE} -o ${EXEC} ${LIB_INCLUDE}

quiet:  
	${COMPILE} ${OPTIM} ${MAIN_FILE} -o ${EXEC} ${LIB_INCLUDE} -DQUIET

clean: 
	rm ${EXEC}

opt:	
	${COMPILE} ${OPTIM} ${MAIN_FILE} -o ${EXEC} ${LIB_INCLUDE}

deb:    
	${COMPILE} ${MAIN_FILE} -o test_slug ${LIB_INCLUDE}

pleia:	
	icc ${MAIN_FILE} -o ${EXEC} ${LIB_INCLUDE}

ascii:
	${COMPILE} ${OPTIM} ${MAIN_FILE} -o ${EXEC} ${LIB_INCLUDE} -DASCII

